package demo;

import demo.MySingleList;

public class Test {
    public static void main(String[] args) {
      MySingleList mySingleList1 = new MySingleList();
      mySingleList1.addFirst(1);
        mySingleList1.addFirst(2);
        mySingleList1.addFirst(1);
        mySingleList1.addFirst(2);
        mySingleList1.addFirst(1);

      System.out.println(mySingleList1.chkPalindrome(mySingleList1.head));




    }
}
